Optimal. Leaf size=68 \[ -\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+2 c^{3/2} \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {676, 634, 212}
\begin {gather*} 2 c^{3/2} \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 634
Rule 676
Rubi steps
\begin {align*} \int \frac {\left (b x+c x^2\right )^{3/2}}{x^4} \, dx &=-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+c \int \frac {\sqrt {b x+c x^2}}{x^2} \, dx\\ &=-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+c^2 \int \frac {1}{\sqrt {b x+c x^2}} \, dx\\ &=-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+\left (2 c^2\right ) \text {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {b x+c x^2}}\right )\\ &=-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+2 c^{3/2} \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 79, normalized size = 1.16 \begin {gather*} -\frac {2 \sqrt {x (b+c x)} \left (\sqrt {b+c x} (b+4 c x)+3 c^{3/2} x^{3/2} \log \left (-\sqrt {c} \sqrt {x}+\sqrt {b+c x}\right )\right )}{3 x^2 \sqrt {b+c x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(150\) vs.
\(2(56)=112\).
time = 0.41, size = 151, normalized size = 2.22
method | result | size |
risch | \(-\frac {2 \left (c x +b \right ) \left (4 c x +b \right )}{3 x \sqrt {x \left (c x +b \right )}}+c^{\frac {3}{2}} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )\) | \(55\) |
default | \(-\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{3 b \,x^{4}}+\frac {2 c \left (-\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{b \,x^{3}}+\frac {4 c \left (\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{b \,x^{2}}-\frac {6 c \left (\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}}}{3}+\frac {b \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x}}{4 c}-\frac {b^{2} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{8 c^{\frac {3}{2}}}\right )}{2}\right )}{b}\right )}{b}\right )}{3 b}\) | \(151\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 78, normalized size = 1.15 \begin {gather*} c^{\frac {3}{2}} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) - \frac {7 \, \sqrt {c x^{2} + b x} c}{3 \, x} - \frac {\sqrt {c x^{2} + b x} b}{3 \, x^{2}} - \frac {{\left (c x^{2} + b x\right )}^{\frac {3}{2}}}{3 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.38, size = 116, normalized size = 1.71 \begin {gather*} \left [\frac {3 \, c^{\frac {3}{2}} x^{2} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) - 2 \, \sqrt {c x^{2} + b x} {\left (4 \, c x + b\right )}}{3 \, x^{2}}, -\frac {2 \, {\left (3 \, \sqrt {-c} c x^{2} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right ) + \sqrt {c x^{2} + b x} {\left (4 \, c x + b\right )}\right )}}{3 \, x^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x \left (b + c x\right )\right )^{\frac {3}{2}}}{x^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 115 vs.
\(2 (56) = 112\).
time = 1.07, size = 115, normalized size = 1.69 \begin {gather*} -c^{\frac {3}{2}} \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} - b \right |}\right ) + \frac {2 \, {\left (6 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{2} b c + 3 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} b^{2} \sqrt {c} + b^{3}\right )}}{3 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,x^2+b\,x\right )}^{3/2}}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________